import cooApp, { basicWidgets } from 'coolink-ts'

const { Container } = basicWidgets

export default class Center extends cooApp.Widget<any, any> {
    render() {
        const { children, ...props } = this.props
        return (
            <Container
                justifyContent="center"
                alignItems="center"
                {...props}
            >
                {children}
            </Container>
        )
    }
}
